func go/types.isBoolean

5 uses

	go/types (current package)
		builtins.go#L760: 		if x.mode != constant_ || !isBoolean(x.typ) {
		check.go#L484: 	assert(isTyped(a[0]) && isTyped(a[1]) && (isBoolean(a[1]) || a[1] == universeError))
		expr.go#L408: 	case isBoolean(typ):
		expr.go#L666: 			if !isBoolean(target) {
		predicates.go#L15: func isBoolean(t Type) bool        { return isBasic(t, IsBoolean) }